package com.nancy.java_design.mediator.demo1;

/**
 * 租客
 */
public class Tenant extends Colleague {

    public Tenant(String name, Mediator mediator) {
        super(name, mediator);
    }

    @Override
    public void send(String message) {
        mediator.send(message, this);
    }
}
